package com.zc.emos.wx.controller.form;

import io.swagger.annotations.ApiModel;
import lombok.Data;
import org.hibernate.validator.constraints.Range;

import javax.validation.constraints.Min;
import javax.validation.constraints.NotNull;

/**
 * @author 曾川
 * @version 1.0.0
 * @ClassName SearchMessageByPageForm.java
 * @Description 分类列表信息form类
 * @createTime 2022年01月19日 11:21:00
 */
@ApiModel
@Data
public class SearchMessageByPageForm {


    @NotNull
    @Min(1)
    private Integer page;


    @NotNull
    @Range(min = 1, max = 40)
    private Integer length;


}
